#define _CRT_SECURE_NO_WARNINGS
int i = 0;
for (i = 0; i < numbersLen - 1; i++)
{
    int j = 0;
    for (j = i + 1; j < numbersLen; j++)
    {
        if (numbers[i] + numbers[j] == target)
        {
            int* ret = malloc(sizeof(int) * 2);
            ret[0] = i + 1;
            ret[1] = j + 1;
            *returnSize = 2;
            return ret;
        }
    }
}
*returnSize = 0;
return NULL;